ProgramDocumentType 
EntityType  Independent 
Logical Entity Name  ProgramDocumentType 
Default Table Name  CmDocTypeByProgram 
Logical Only  NO 
Definition 
 
Note 
 

ProgramDocumentType Attributes 
Attribute/Logical Rolename  Domain  Datatype  NULL  Definition 
ProgramId(FK)    INTEGER  YES 
 
DocumentTypeId(FK)    INTEGER  NO 
 
LastModifiedUserId    INTEGER  NO 
 
CreatedDateTime    DATETIME  NO 
 
LastModifiedDateTime    DATETIME  NO 
 
ModFlag    CHAR(1)  NO 
 
IsActive    BIT  NO 
 
RowVersion    TIMESTAMP/DATE  NO 
 
ProgramDocumentTypeId(PK)    INTEGER  NO 
 

ProgramDocumentType Keys 
Key Name  Key Type  Keys 
CmDocTypeByProgram_CmDocTypeByProgramID_U_C_IDX  PrimaryKey  ProgramDocumentTypeId 
CmDocTypeByProgram_CmDocTypeID_N_N_IDX  Inversion Entry  DocumentTypeId 

ProgramDocumentType Relationships 
Parent Relationships: 
Entity Name  Type  Cardinality  Business Name  VerbPhrase  InversePhrase  Foreign Keys  Is Supertype 
DocumentType  Non-Identifying  Zero or One to Zero or More        DocumentTypeId  NO 
DocumentType  Non-Identifying  One To Zero or More        DocumentTypeId  NO 
Program  Non-Identifying  Zero or One to Zero or More        ProgramId  NO 
Child Relationships: 
Entity Name  Type  Cardinality  Business Name  VerbPhrase  InversePhrase  Foreign Keys  Is Subtype 

ProgramDocumentType Check Constraints 
Check Constraint Name  CheckConstraint